<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head>
        <title>Vy</title>
        <style>
            
            .dinnerName
            {
                
                
            }
            
            .view
            {
            border-style: solid;
            border-color: silver;
            padding: 50px;
            font-size: 150%;
            margin-left: auto;
            margin-right: auto;
                
            }
        </style>
    </h:head>
    
    <h:body>
        
        <ui:composition template="../../admin/adminTemplate.xhtml">
            
            <ui:define name="title">
                Admin Schema
            </ui:define>
            <ui:define name="page">
        <h1>  Vy </h1>
        
         <h:form class="view">
     
         Namn på rätt:   <h:outputText id="dinnerName" value="#{listDinner.dinnerName}"/> <br/><br/>
         beskrivning: <h:outputText id="dinnerDescription" value ="#{listDinner.dinnerDescription}"/><br/><br/>
         pris:  <h:outputText id="dinnerPrice" value="#{listDinner.dinnerPrice}"/> kr<br/><br/>
         Typ av rätt: <h:outputText id="dinnerType" value="#{listDinner.dinnerType}"/> <br/><br/>
         Ingredienser:<br/>
         
         
         <h:dataTable class="ptext" value="#{listDinner.listspec.getSelectedIngredientsEntities(listDinner.dinnerName)}" var="o">
 
	<h:column>
		#{o.item_name}
		</h:column>

        </h:dataTable>
        </h:form>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

